package com.example.easywebdemo.example;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 角色管理
 * @Description
 * @Author 幻速
 * @Date 2024/4/30 16:45
 **/
@Controller
public class ExampleController {
    @GetMapping("/calendar")
    public ModelAndView calendar(){
        return new ModelAndView("/page/example/calendar");
    }
    @GetMapping("/calendar-2week")
    public ModelAndView calendarweek(){
        return new ModelAndView("/page/example/calendar-2week");
    }
    @GetMapping("/course")
    public ModelAndView course(){
        return new ModelAndView("/page/example/course");
    }
    @GetMapping("/dialog")
    public ModelAndView dialog(){
        return new ModelAndView("/page/example/dialog");
    }
    @GetMapping("/file")
    public ModelAndView file(){
        return new ModelAndView("/page/example/file");
    }
    @GetMapping("/question")
    public ModelAndView question(){
        return new ModelAndView("/page/example/question");
    }
    @GetMapping("/side-more")
    public ModelAndView sideMore(){
        return new ModelAndView("/page/example/side-more");
    }
    @GetMapping("/side-ajax")
    public ModelAndView sideAjax(){
        return new ModelAndView("/page/example/side-ajax");
    }
    @GetMapping("/table-crud")
    public ModelAndView tableCrud(){
        return new ModelAndView("/page/example/table-crud");
    }
}
